//======================================================================================
//  Notes:Use this command to anonymously check out the latest project source code:
//  Non-members may check out a read-only working copy anonymously over HTTP.
//  http://YHQCodingWsp.googlecode.com/svn/trunk/
//
//  Author:		Kevin Yang
//  Email:		Bigearrabbit@qq.com
//
//  DATE:		2013-4-22
//
//  File Name:	YHQCodingCore.cpp
//
//  Notes:
//
//======================================================================================

#include "YHQCodingCore.h"

//Qt Library
YHQMainWindow * g_pYHQMainWindow = NULL;
//-----------------------------------------------------
YHQCodingCore::YHQCodingCore(QWidget *parent)
    : QAction(parent)
{
}
//-----------------------------------------------------
YHQCodingCore::~YHQCodingCore()
{
}
//-----------------------------------------------------
void YHQCodingCore::SetMainWindowPtr(YHQMainWindow * ipWindow)
{
    g_pYHQMainWindow = ipWindow;//copy value
}
//-----------------------------------------------------
YHQMainWindow *YHQCodingCore::GetMainWindowPtr()
{
    return g_pYHQMainWindow;//return the global value
}
//-----------------------------------------------------
